<template>
  <div>
      <el-form>
        <el-form-item label="用户名">
          <el-input type="password"></el-input>
        </el-form-item>
        <el-form-item label="角色">
          <el-select v-model="value" placeholder="请选择">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="新密码">
          <el-input type="password"></el-input>
        </el-form-item>
        <el-form-item label="确认密码">
          <el-input type="password"></el-input>
        </el-form-item>
      </el-form>
      <el-row style="margin-top: 50px ">
        <el-col :span="6" :offset="5">
          <el-button type="primary">确定</el-button>
        </el-col>
        <el-col :span="6" :offset="3">
          <el-button type="primary">取消</el-button>
        </el-col>
      </el-row>
  </div>
</template>

<script>
export default {
  name: 'addAccount',
  data() {
    return {
      options: [{
        value: '选项1',
        label: '超级管理员'
      }, {
        value: '选项2',
        label: '交易员'
      }, {
        value: '选项3',
        label: '风控员'
      }, {
        value: '选项4',
        label: '查询员'
      }, {
        value: '选项5',
        label: '账户管理员'
      }],
      value: ''
    }
  }
}
</script>

<style scoped>

</style>
